package com.example.repo.redis;

import lombok.Data;
import org.springframework.data.geo.Point;
import org.springframework.data.redis.core.index.GeoIndexed;
import org.springframework.data.redis.core.index.Indexed;

/**
 * @author LiYuhang
 * @version 0.1
 * @date 2024/2/1 14:00
 */
@Data
public class Address {
    @Indexed
    private String city;
    private String country;
    @GeoIndexed
    private Point location;
}
